package com.ruubypay.biz.mvc.workflow.model.request;

/**
 * 流程定义VO
 * @author chenhaiyang
 */
public class ProcessDefined {

    /**
     * 流程定义id
     */
    private String id;
    /**
     * 流程名称
     */
    private String name;
    /**
     *  流程定义key
     */
    private String key;
    /**
     * xml文件名称
     */
    private String resourceName;
    /**
     *  流程图片名称
     */
    private String diagramResourceName;
    /**
     * 部署id
     */
    private String deploymentId;
    /**
     * 流程状态，1 激活，2，挂起
     */
    private Integer  isSuspended;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public String getDiagramResourceName() {
        return diagramResourceName;
    }

    public void setDiagramResourceName(String diagramResourceName) {
        this.diagramResourceName = diagramResourceName;
    }

    public String getDeploymentId() {
        return deploymentId;
    }

    public void setDeploymentId(String deploymentId) {
        this.deploymentId = deploymentId;
    }

    public Integer getIsSuspended() {
        return isSuspended;
    }

    public void setIsSuspended(Integer isSuspended) {
        this.isSuspended = isSuspended;
    }

    @Override
    public String toString() {
        return "ProcessDefined{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", key='" + key + '\'' +
                ", resourceName='" + resourceName + '\'' +
                ", diagramResourceName='" + diagramResourceName + '\'' +
                ", deploymentId='" + deploymentId + '\'' +
                ", isSuspended=" + isSuspended +
                '}';
    }
}
